#include <string>
#include<vector>

using std::string;
using namespace std;

char* Utf8ToGB2312(const char* utf8);
char* GB2312ToUtf8(const char* gb2312);
string UTF8ToGB(const char* str);
void OutputDebugStringEx(const char *strOutputString, ...);
void OutputDebugStringEx(const wchar_t *strOutputString, ...);
string strTomd5Hex(char* data);
void Stringsplit(const string& str, const string& split, vector<string>& res);
void Stringsplit(const string& str, const char split, vector<string>& res);
string readFileIntoString(const char * filename);
void WriteDataToFileEnd(const char* path,const char* data);
void string_replace(string&s1, const string&s2, const string&s3);
void string_replace(string&s1, const string&s2, int value);
string ExtractString(string s1, const char* s2);
string GetExtractString(string s1, const char* s2, int type);
string GetExtractString(string s1, const char* s2, const char* s3);
void createMultiDir(const std::string& strPath);